home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Complet / emovix / eMovix-0.9.0pre1_Setup.exe / {app} / Makefile.am < prev    next >
Encoding:
Makefile  |  2003-12-26  |  1.4 KB  |  38 lines

  1. # Copyright (C) 2002 Roberto De Leo <deleo@unica.it>
  2. #  
  3. # This file is free software; as a special exception the author gives
  4. # unlimited permission to copy and/or distribute it, with or without 
  5. # modifications, as long as this notice is preserved.
  6. # This program is distributed in the hope that it will be useful, but
  7. # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
  8. # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  9.  
  10. SUBDIRS    = src scripts
  11. EXTRA_DIST = README README.de README.fr README.it README.nl \
  12.              README.pt README.pl README.hu README.es \
  13.          mplayer-fonts \
  14.          boot-messages \
  15.          keyboard-i18n \
  16.          backgrounds \
  17.          config/alsaConfig config/dxr3Config config/kernelConfig \
  18.          config/kernelPatches config/mplayerConfig config/sdlConfig
  19.  
  20. emovix_share_dir = $(DESTDIR)$(datadir)/emovix
  21.  
  22. dist-hook:
  23.     for i in `find $(distdir) -name CVS` ; do rm -rf $$i; done;
  24.     for i in `find $(distdir) -name .cvsignore` ; do rm -rf $$i; done;
  25.  
  26. install-data-local:
  27.     cp -a {boot-messages,mplayer-fonts,keyboard-i18n,backgrounds} $(emovix_share_dir)
  28.     @for language in boot-messages/[a-z]? boot-messages/[a-z]?? ; \
  29.         do perl -pw -i -e \
  30.             "s/MoviX +v[\.\w]+/MoviX v$(MOVIX_VERSION)/" \
  31.             $(emovix_share_dir)/$$language/mxhelp.txt ; \
  32.         done;
  33.  
  34. uninstall-local:
  35.     rmdir --ignore-fail-on-non-empty \
  36.     $(emovix_share_dir)/{boot-messages,mplayer-fonts,keyboard-i18n,backgrounds}
  37.